import request from '@/utils/request'

export function getStats() {
  return request({
    url: '/business/stats/enterprise',
    method: 'get',
  })
}

export function getDemandsPie() {
  return request({
    url: '/business/stats/demand/type',
    method: 'get'
  })
}

export function getDemandsDate() {
  return request({
    url: '/business/stats/demand/month',
    method: 'get',
  })
}

export function getDemandsDep() {
  return request({
    url: '/business/stats/demand/dept',
    method: 'get',
  })
}

export function getDemandsEnt() {
  return request({
    url: '/business/stats/demand/enterprise',
    method: 'get',
  })
}

export function getRecruit() {
  return request({
    url: '/business/stats/recruit/enterprise',
    method: 'get',
  })
}

export default { getStats, getDemandsPie, getDemandsDate, getDemandsDep, getDemandsEnt, getRecruit}

